# Author：wgw
card = int(input("请输入数字："))
count = 0
while True:
    if count < 3:
      user_guess = int(input("请猜一猜："))
      if card == user_guess:
          print("恭喜你，答对啦！~")
          break
      elif card > user_guess:
          print("往大的猜！")
      else:
        print("猜太大啦！往小的猜")
        count += 1
    else:
        print("太笨了吧！猜这么久都猜不出来？？？")
        break

